# Maintainer: Pierre Schmitz <pierre@archlinux.org>
# Contributor: Simo Leone <simo@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=aspell-de
_pkgname=aspell6-de
_pkgver=20161207-7-0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="German dictionary for aspell"
arch=('x86_64')
url="https://ftp.gnu.org/gnu/aspell/dict/de/"
license=('GPL2')
depends=('aspell')
source=("https://ftp.gnu.org/gnu/aspell/dict/de/${_pkgname}-${_pkgver}.tar.bz2"{,.sig})
sha256sums=('c2125d1fafb1d4effbe6c88d4e9127db59da9ed92639c7cbaeae1b7337655571'
            'SKIP')
validpgpkeys=('78DEC3DB0AEA763951322BBF71C636695B147849')

build() {
  cd "${srcdir}/${_pkgname}-${_pkgver}"

  ./configure
  make
}

package() {
  cd "${srcdir}/${_pkgname}-${_pkgver}"

  make DESTDIR="$pkgdir" install
}
